home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / Interapplication Communication / MenuScripter 4.0 / Sources / MSAECountElements.h < prev    next >
Encoding:
Text File  |  1996-07-09  |  673 b   |  25 lines  |  [TEXT/CWIE]

  1. // MSAECountElements.h
  2. //
  3. // Original version by Jon Lansdell and Nigel Humphreys.
  4. // 4.0 and 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1996, all rights reserved.
  6.  
  7. #ifndef __MSAECOUNTELEMENTS__
  8. #define __MSAECOUNTELEMENTS__
  9.  
  10. #include <AppleEvents.h>
  11. #include <AEObjects.h>
  12. #include <AERegistry.h>
  13.  
  14. pascal OSErr    DoCountElements(const AppleEvent    *theAppleEvent,
  15.                                       AppleEvent     *reply,
  16.                                         long             handlerRefCon);
  17.  
  18. pascal OSErr    MyCountProc(DescType desiredType, DescType containerClass,
  19.                                         const AEDesc *container, long* result);
  20.  
  21. OSErr            GetDescForNumberOfElements(DescType desiredType,
  22.                                             AEDesc* container, AEDesc* result);
  23.  
  24. #endif
  25.